package com.zzy.springbootdemo.design_02_abstract_factory.workshop;

import java.util.concurrent.TimeUnit;

public interface ICacheAdapter {

    String get(final String key);

    void set(String key,String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
